@extends('layouts.admin')
@section('pageTitle', '投票数据列表')
@section('style')
    <style>
        .vote-column-smimg{
            max-width: 179px;
            max-height: 117px;
        }
    </style>
    <link rel="stylesheet" href="/css/admin/activityDemo.css"/>
@endsection
@section('content')
    {{--@component('components.web.sidemenu')--}}
    {{--@endcomponent--}}
    <div class="main-panel">
        <div class="content apartment-index">
            <div class="container-fluid" style="min-height:600px;">
                <div class="row">
                    <div class="col-md-12">
                        <div class="card">
                            <div class="header">
                                <button class="btn btn-fill btn-info vote-back-list">返回</button>
                            </div>
                            <div class="content">
                                <table id="bootstrap-votedata-table-container" class="table" data-url="">
                                    <thead>
                                    <th data-field="state" data-checkbox="true">选择</th>
                                    <th data-field="cover_url" data-formatter="imgFormatter" class="vote-column-smimg" data-sortable="false">缩略图</th>
                                    <th data-field="title" data-sortable="true">投票项目</th>
                                    <th data-field="deleted_id" data-sortable="true">投票结果</th>
                                    <th data-field="actions" class="td-actions text-center" data-events="operateEvents" data-formatter="operateFormatter">操作</th>
                                    </thead>
                                    <tbody>
                                    </tbody>
                                </table>
                            </div>
                        </div><!--  end card  -->
                    </div> <!-- end col-md-12 -->
                </div> <!-- end row -->
            </div>
        </div>
    </div>
@endsection
@section('script')
    <script src="/js/views/activity/initialVotedatalist.js"></script>
@endsection